{if $consts|count > 0}
<consts>

{foreach from=$consts item=const}

    <const name="{$const.const_name}" line="{$const.line_number}">
    
        <value>{$const.const_value|trim}</value>
        
        {include file="docblock.tpl" sdesc=$const.sdesc desc=$const.desc tags=$const.tags}
    </const>
    
{/foreach}

</consts>
{/if}

